(Fbury_buffer): Use frames_discard_buffer.
authorRichard M. Stallman <rms@gnu.org>
Wed, 26 Jun 2002 08:35:14 +0000 (08:35 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 26 Jun 2002 08:35:14 +0000 (08:35 +0000)
src/buffer.c

index 6af8b39d3b5c63572e7c328fd2a03bd9acb05e66..65300cd9827c5dd86f1b9eb50d5d6bf361169ee6 100644 (file)
@@ -1932,7 +1932,10 @@ selected window if it is displayed there.  */)
       XSETCDR (link, Qnil);
       Vbuffer_alist = nconc2 (Vbuffer_alist, link);
 
-      frames_bury_buffer (buffer);
+      /* Removing BUFFER from frame-specific lists
+        has the effect of putting BUFFER at the end
+        of the combined list in each frame.  */
+      frames_discard_buffer (buffer);
     }
 
   return Qnil;